package com.example.storage.api;

import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.RequestParam;

public interface StorageApi {
    @GetMapping(value = "/deduct")
    public Boolean deduct(@RequestParam(value = "commodityCode") String commodityCode,
                          @RequestParam(value = "count") int count);
}
